Profiles

A service for managing Chromium profiles.

Functions

Link copied to clipboard
abstract fun defaultProfile(): Profile
Returns the default profile instance.
Link copied to clipboard
abstract fun delete(profile: Profile)
Deletes the given profile from the list of available profiles, closes all browsers associated with it, releases all allocated resources and files in the user data directory.
Link copied to clipboard
abstract fun engine(): Engine
Returns the engine of this service.
Link copied to clipboard
abstract fun list(): List<Profile>
Returns an immutable list of the available profiles including the default profile.
Link copied to clipboard
abstract fun newIncognitoProfile(name: String): Profile
Creates a new incognito Profile instance with the given name.
Link copied to clipboard
abstract fun newProfile(name: String): Profile
Creates a new Profile instance with the given name.